/* writer part: saves the feed file as XML code to the system */
/* this writes the original feed to a file */
writer=.bsf~new("java.io.FileWriter",fileName)
output=.bsf~new("com.sun.syndication.io.SyndFeedOutput")
output~output(feed,writer)
writer~close()
say output~outputString(feed,0) /* usage of pretty print(0 yes or 1 no) */